using System;
using System.Windows.Forms;

namespace HogoWinClient
{
	public partial class TipsForm : Form
	{
		#region Singletone
		private TipsForm()
		{
			InitializeComponent();
		}
		
		static private readonly TipsForm instance = new TipsForm();
		static public TipsForm Instance
		{
			get { return instance; }
		}
		#endregion
		
		public bool DontShow
		{
			get
			{
				return dontShowAgainCheckbox.Checked;
			}
			set
			{
				dontShowAgainCheckbox.Checked = value;
			}
		}

		public void TryShowDialog()
		{
			if (!dontShowAgainCheckbox.Checked)
				this.ShowDialog();
		}
	}
}